'use strict';
// Copyright 2014 Blueant Inc. All Rights Reserved.

/**
 * @fileoverview 复活相关接口
 * @author sundbcn@gmail.com (sun debing)
 */

var dataApi = require('../libs/dataApi');

exports.getReliveDiamond = function (num) {
    var relive_conf = dataApi.relive.findById(num);
    if (!!relive_conf) {
        console.error('relive_conf type can not found:' + num);
        return relive_conf.point_cost;
    }

    return 0;
};
